/*
 * File: Ctrl.h
 *
 * Code generated for Simulink model 'Ctrl'.
 *
 * Model version                  : 1.431
 * Simulink Coder version         : 8.2 (R2012a) 29-Dec-2011
 * TLC version                    : 8.2 (Dec 29 2011)
 * C/C++ source code generated on : Sat Apr 14 13:39:19 2012
 *
 * Target selection: ert.tlc
 * Embedded hardware selection: Texas Instruments->C2000
 * Code generation objectives: Unspecified
 * Validation result: Not run
 */

#ifndef RTW_HEADER_Ctrl_h_
#define RTW_HEADER_Ctrl_h_
#ifndef Ctrl_COMMON_INCLUDES_
# define Ctrl_COMMON_INCLUDES_
#include <string.h>
#include "rtwtypes.h"
#endif                                 /* Ctrl_COMMON_INCLUDES_ */

#include "Ctrl_types.h"

/* Macros for accessing real-time model data structure */
#ifndef rtmGetErrorStatus
# define rtmGetErrorStatus(rtm)        ((rtm)->errorStatus)
#endif

#ifndef rtmSetErrorStatus
# define rtmSetErrorStatus(rtm, val)   ((rtm)->errorStatus = (val))
#endif

/* Block signals (auto storage) */
typedef struct {
  real32_T Vd;                         /* '<S1>/Merge' */
  real32_T Vq;                         /* '<S1>/Merge' */
  real32_T ElAngle;                    /* '<S1>/Merge' */
  uint32_T ActualState;                /* '<S1>/Chart' */
  uint32_T ActualMode;                 /* '<S1>/Chart' */
  boolean_T Kill;                      /* '<S1>/Chart' */
  boolean_T ClearTrip;                 /* '<S1>/Chart' */
  boolean_T CtrlOff;                   /* '<S1>/Chart' */
  boolean_T CtrlOLV;                   /* '<S1>/Chart' */
  boolean_T CtrlOLC;                   /* '<S1>/Chart' */
  boolean_T CtrlCLT;                   /* '<S1>/Chart' */
  boolean_T CtrlCLS;                   /* '<S1>/Chart' */
  boolean_T CtrlCLP;                   /* '<S1>/Chart' */
} BlockIO_Ctrl;

/* Block states (auto storage) for system '<Root>' */
typedef struct {
  real32_T DiscreteTimeIntegrator_DSTATE;/* '<S25>/Discrete-Time Integrator' */
  real32_T DiscreteTimeIntegrator_DSTATE_n;/* '<S18>/Discrete-Time Integrator' */
  real32_T Integrator_DSTATE;          /* '<S19>/Integrator' */
  real32_T Integrator_DSTATE_f;        /* '<S20>/Integrator' */
  real32_T Integrator_DSTATE_h;        /* '<S14>/Integrator' */
  real32_T Integrator_DSTATE_k;        /* '<S15>/Integrator' */
  real32_T Integrator_DSTATE_h1;       /* '<S8>/Integrator' */
  real32_T Integrator_DSTATE_o;        /* '<S10>/Integrator' */
  real32_T Integrator_DSTATE_os;       /* '<S9>/Integrator' */
  real32_T PrevY;                      /* '<S25>/Rate Limiter' */
  real32_T PrevY_p;                    /* '<S18>/Rate Limiter' */
  int32_T sfEvent;                     /* '<S1>/Chart' */
  uint32_T presentTicks;               /* '<S1>/Chart' */
  uint32_T elapsedTicks;               /* '<S1>/Chart' */
  uint32_T previousTicks;              /* '<S1>/Chart' */
  uint16_T temporalCounter_i1;         /* '<S1>/Chart' */
  uint16_T is_active_c1_Ctrl;          /* '<S1>/Chart' */
  uint16_T is_Online;                  /* '<S1>/Chart' */
  uint16_T is_active_SystemLogic;      /* '<S1>/Chart' */
  uint16_T is_SystemLogic;             /* '<S1>/Chart' */
  uint16_T is_active_FailureDetection; /* '<S1>/Chart' */
  uint16_T is_active_ExternalTrip;     /* '<S1>/Chart' */
  uint16_T is_ExternalTrip;            /* '<S1>/Chart' */
  boolean_T ClosedLoopSpeed_MODE;      /* '<S1>/ClosedLoopSpeed' */
  boolean_T ClosedLoopTorque_MODE;     /* '<S1>/ClosedLoopTorque' */
  boolean_T OpenLoopVoltage_MODE;      /* '<S1>/OpenLoopVoltage' */
  boolean_T OpenLoopCurrent_MODE;      /* '<S1>/OpenLoopCurrent' */
} D_Work_Ctrl;

/* External inputs (root inport signals with auto storage) */
typedef struct {
  boolean_T Active;                    /* '<Root>/Active' */
  uint32_T Mode;                       /* '<Root>/Mode' */
  boolean_T ExtTrip;                   /* '<Root>/ExtTrip' */
  boolean_T AckError;                  /* '<Root>/AckError' */
  real32_T Vd;                         /* '<Root>/Vdref' */
  real32_T Iref;                       /* '<Root>/Iref' */
  real32_T RPMRef;                     /* '<Root>/RPMRef' */
  real_T EncoderPulses;                /* '<Root>/EncoderPulses' */
  boolean_T IdxLock;                   /* '<Root>/IdxLock' */
  real32_T ElAngle;                    /* '<Root>/ElAngle' */
  real32_T SpeedRPM;                   /* '<Root>/SpeedRPM' */
  real32_T Idq[2];                     /* '<Root>/Idq' */
} ExternalInputs_Ctrl;

/* External outputs (root outports fed by signals with auto storage) */
typedef struct {
  boolean_T Kill;                      /* '<Root>/Kill' */
  uint32_T ActualState;                /* '<Root>/ActualState' */
  uint32_T ActualMode;                 /* '<Root>/ActualMode' */
  boolean_T Cleartrip;                 /* '<Root>/Cleartrip' */
  real32_T Vd;                         /* '<Root>/Vd' */
  real32_T Vq;                         /* '<Root>/Vq' */
  real32_T ElAngleb;                   /* '<Root>/ElAngleb' */
} ExternalOutputs_Ctrl;

/* Parameters (auto storage) */
struct Parameters_Ctrl_ {
  real32_T Constant1_Value;            /* Computed Parameter: Constant1_Value
                                        * Referenced by: '<S3>/Constant1'
                                        */
  real32_T ProportionalGain_Gain;      /* Computed Parameter: ProportionalGain_Gain
                                        * Referenced by: '<S8>/Proportional Gain'
                                        */
  real32_T Integrator_gainval;         /* Computed Parameter: Integrator_gainval
                                        * Referenced by: '<S8>/Integrator'
                                        */
  real32_T Integrator_IC;              /* Computed Parameter: Integrator_IC
                                        * Referenced by: '<S8>/Integrator'
                                        */
  real32_T Saturation_UpperSat;        /* Computed Parameter: Saturation_UpperSat
                                        * Referenced by: '<S8>/Saturation'
                                        */
  real32_T Saturation_LowerSat;        /* Computed Parameter: Saturation_LowerSat
                                        * Referenced by: '<S8>/Saturation'
                                        */
  real32_T IntegralGain_Gain;          /* Computed Parameter: IntegralGain_Gain
                                        * Referenced by: '<S8>/Integral Gain'
                                        */
  real32_T Constant_Value;             /* Computed Parameter: Constant_Value
                                        * Referenced by: '<S8>/Constant'
                                        */
  real32_T ProportionalGain_Gain_p;    /* Computed Parameter: ProportionalGain_Gain_p
                                        * Referenced by: '<S10>/Proportional Gain'
                                        */
  real32_T Integrator_gainval_a;       /* Computed Parameter: Integrator_gainval_a
                                        * Referenced by: '<S10>/Integrator'
                                        */
  real32_T Integrator_IC_f;            /* Computed Parameter: Integrator_IC_f
                                        * Referenced by: '<S10>/Integrator'
                                        */
  real32_T Saturation_UpperSat_m;      /* Computed Parameter: Saturation_UpperSat_m
                                        * Referenced by: '<S10>/Saturation'
                                        */
  real32_T Saturation_LowerSat_g;      /* Computed Parameter: Saturation_LowerSat_g
                                        * Referenced by: '<S10>/Saturation'
                                        */
  real32_T ProportionalGain_Gain_n;    /* Computed Parameter: ProportionalGain_Gain_n
                                        * Referenced by: '<S9>/Proportional Gain'
                                        */
  real32_T Integrator_gainval_j;       /* Computed Parameter: Integrator_gainval_j
                                        * Referenced by: '<S9>/Integrator'
                                        */
  real32_T Integrator_IC_b;            /* Computed Parameter: Integrator_IC_b
                                        * Referenced by: '<S9>/Integrator'
                                        */
  real32_T Saturation_UpperSat_a;      /* Computed Parameter: Saturation_UpperSat_a
                                        * Referenced by: '<S9>/Saturation'
                                        */
  real32_T Saturation_LowerSat_k;      /* Computed Parameter: Saturation_LowerSat_k
                                        * Referenced by: '<S9>/Saturation'
                                        */
  real32_T IntegralGain_Gain_m;        /* Computed Parameter: IntegralGain_Gain_m
                                        * Referenced by: '<S9>/Integral Gain'
                                        */
  real32_T Constant_Value_g;           /* Computed Parameter: Constant_Value_g
                                        * Referenced by: '<S9>/Constant'
                                        */
  real32_T IntegralGain_Gain_i;        /* Computed Parameter: IntegralGain_Gain_i
                                        * Referenced by: '<S10>/Integral Gain'
                                        */
  real32_T Constant_Value_gp;          /* Computed Parameter: Constant_Value_gp
                                        * Referenced by: '<S10>/Constant'
                                        */
  real32_T StupidMerge_Gain;           /* Computed Parameter: StupidMerge_Gain
                                        * Referenced by: '<S3>/StupidMerge'
                                        */
  real32_T StupidMerge1_Gain;          /* Computed Parameter: StupidMerge1_Gain
                                        * Referenced by: '<S3>/StupidMerge1'
                                        */
  real32_T Constant1_Value_m;          /* Computed Parameter: Constant1_Value_m
                                        * Referenced by: '<S4>/Constant1'
                                        */
  real32_T ProportionalGain_Gain_e;    /* Computed Parameter: ProportionalGain_Gain_e
                                        * Referenced by: '<S14>/Proportional Gain'
                                        */
  real32_T Integrator_gainval_g;       /* Computed Parameter: Integrator_gainval_g
                                        * Referenced by: '<S14>/Integrator'
                                        */
  real32_T Integrator_IC_a;            /* Computed Parameter: Integrator_IC_a
                                        * Referenced by: '<S14>/Integrator'
                                        */
  real32_T Saturation_UpperSat_l;      /* Computed Parameter: Saturation_UpperSat_l
                                        * Referenced by: '<S14>/Saturation'
                                        */
  real32_T Saturation_LowerSat_a;      /* Computed Parameter: Saturation_LowerSat_a
                                        * Referenced by: '<S14>/Saturation'
                                        */
  real32_T IntegralGain_Gain_mu;       /* Computed Parameter: IntegralGain_Gain_mu
                                        * Referenced by: '<S14>/Integral Gain'
                                        */
  real32_T Constant_Value_c;           /* Computed Parameter: Constant_Value_c
                                        * Referenced by: '<S14>/Constant'
                                        */
  real32_T ProportionalGain_Gain_b;    /* Computed Parameter: ProportionalGain_Gain_b
                                        * Referenced by: '<S15>/Proportional Gain'
                                        */
  real32_T Integrator_gainval_an;      /* Computed Parameter: Integrator_gainval_an
                                        * Referenced by: '<S15>/Integrator'
                                        */
  real32_T Integrator_IC_j;            /* Computed Parameter: Integrator_IC_j
                                        * Referenced by: '<S15>/Integrator'
                                        */
  real32_T Saturation_UpperSat_b;      /* Computed Parameter: Saturation_UpperSat_b
                                        * Referenced by: '<S15>/Saturation'
                                        */
  real32_T Saturation_LowerSat_e;      /* Computed Parameter: Saturation_LowerSat_e
                                        * Referenced by: '<S15>/Saturation'
                                        */
  real32_T IntegralGain_Gain_h;        /* Computed Parameter: IntegralGain_Gain_h
                                        * Referenced by: '<S15>/Integral Gain'
                                        */
  real32_T Constant_Value_k;           /* Computed Parameter: Constant_Value_k
                                        * Referenced by: '<S15>/Constant'
                                        */
  real32_T StupidMerge_Gain_c;         /* Computed Parameter: StupidMerge_Gain_c
                                        * Referenced by: '<S4>/StupidMerge'
                                        */
  real32_T StupidMerge1_Gain_l;        /* Computed Parameter: StupidMerge1_Gain_l
                                        * Referenced by: '<S4>/StupidMerge1'
                                        */
  real32_T Constant1_Value_k;          /* Computed Parameter: Constant1_Value_k
                                        * Referenced by: '<S5>/Constant1'
                                        */
  real32_T Constant2_Value;            /* Computed Parameter: Constant2_Value
                                        * Referenced by: '<S5>/Constant2'
                                        */
  real32_T Constant3_Value;            /* Computed Parameter: Constant3_Value
                                        * Referenced by: '<S5>/Constant3'
                                        */
  real32_T DiscreteTimeIntegrator_gainval;/* Computed Parameter: DiscreteTimeIntegrator_gainval
                                           * Referenced by: '<S18>/Discrete-Time Integrator'
                                           */
  real32_T DiscreteTimeIntegrator_IC;  /* Computed Parameter: DiscreteTimeIntegrator_IC
                                        * Referenced by: '<S18>/Discrete-Time Integrator'
                                        */
  real32_T Constant_Value_p;           /* Computed Parameter: Constant_Value_p
                                        * Referenced by: '<S21>/Constant'
                                        */
  real32_T RateLimiter_RisingLim;      /* Computed Parameter: RateLimiter_RisingLim
                                        * Referenced by: '<S18>/Rate Limiter'
                                        */
  real32_T RateLimiter_FallingLim;     /* Computed Parameter: RateLimiter_FallingLim
                                        * Referenced by: '<S18>/Rate Limiter'
                                        */
  real32_T RateLimiter_IC;             /* Computed Parameter: RateLimiter_IC
                                        * Referenced by: '<S18>/Rate Limiter'
                                        */
  real32_T rps_Gain;                   /* Computed Parameter: rps_Gain
                                        * Referenced by: '<S18>/rps'
                                        */
  real32_T rps1_Gain;                  /* Computed Parameter: rps1_Gain
                                        * Referenced by: '<S18>/rps1'
                                        */
  real32_T Constant_Value_ka;          /* Computed Parameter: Constant_Value_ka
                                        * Referenced by: '<S22>/Constant'
                                        */
  real32_T Saturation_UpperSat_f;      /* Computed Parameter: Saturation_UpperSat_f
                                        * Referenced by: '<S18>/Saturation'
                                        */
  real32_T Saturation_LowerSat_gl;     /* Computed Parameter: Saturation_LowerSat_gl
                                        * Referenced by: '<S18>/Saturation'
                                        */
  real32_T Constant1_Value_e;          /* Computed Parameter: Constant1_Value_e
                                        * Referenced by: '<S6>/Constant1'
                                        */
  real32_T ProportionalGain_Gain_i;    /* Computed Parameter: ProportionalGain_Gain_i
                                        * Referenced by: '<S19>/Proportional Gain'
                                        */
  real32_T Integrator_gainval_e;       /* Computed Parameter: Integrator_gainval_e
                                        * Referenced by: '<S19>/Integrator'
                                        */
  real32_T Integrator_IC_m;            /* Computed Parameter: Integrator_IC_m
                                        * Referenced by: '<S19>/Integrator'
                                        */
  real32_T Saturation_UpperSat_d;      /* Computed Parameter: Saturation_UpperSat_d
                                        * Referenced by: '<S19>/Saturation'
                                        */
  real32_T Saturation_LowerSat_ej;     /* Computed Parameter: Saturation_LowerSat_ej
                                        * Referenced by: '<S19>/Saturation'
                                        */
  real32_T IntegralGain_Gain_l;        /* Computed Parameter: IntegralGain_Gain_l
                                        * Referenced by: '<S19>/Integral Gain'
                                        */
  real32_T Constant_Value_p0;          /* Computed Parameter: Constant_Value_p0
                                        * Referenced by: '<S19>/Constant'
                                        */
  real32_T ProportionalGain_Gain_a;    /* Computed Parameter: ProportionalGain_Gain_a
                                        * Referenced by: '<S20>/Proportional Gain'
                                        */
  real32_T Integrator_gainval_i;       /* Computed Parameter: Integrator_gainval_i
                                        * Referenced by: '<S20>/Integrator'
                                        */
  real32_T Integrator_IC_n;            /* Computed Parameter: Integrator_IC_n
                                        * Referenced by: '<S20>/Integrator'
                                        */
  real32_T Saturation_UpperSat_as;     /* Computed Parameter: Saturation_UpperSat_as
                                        * Referenced by: '<S20>/Saturation'
                                        */
  real32_T Saturation_LowerSat_av;     /* Computed Parameter: Saturation_LowerSat_av
                                        * Referenced by: '<S20>/Saturation'
                                        */
  real32_T IntegralGain_Gain_le;       /* Computed Parameter: IntegralGain_Gain_le
                                        * Referenced by: '<S20>/Integral Gain'
                                        */
  real32_T Constant_Value_cy;          /* Computed Parameter: Constant_Value_cy
                                        * Referenced by: '<S20>/Constant'
                                        */
  real32_T StupidMerge_Gain_n;         /* Computed Parameter: StupidMerge_Gain_n
                                        * Referenced by: '<S6>/StupidMerge'
                                        */
  real32_T StupidMerge1_Gain_e;        /* Computed Parameter: StupidMerge1_Gain_e
                                        * Referenced by: '<S6>/StupidMerge1'
                                        */
  real32_T DiscreteTimeIntegrator_gainva_h;/* Computed Parameter: DiscreteTimeIntegrator_gainva_h
                                            * Referenced by: '<S25>/Discrete-Time Integrator'
                                            */
  real32_T DiscreteTimeIntegrator_IC_k;/* Computed Parameter: DiscreteTimeIntegrator_IC_k
                                        * Referenced by: '<S25>/Discrete-Time Integrator'
                                        */
  real32_T Constant_Value_j;           /* Computed Parameter: Constant_Value_j
                                        * Referenced by: '<S26>/Constant'
                                        */
  real32_T RateLimiter_RisingLim_e;    /* Computed Parameter: RateLimiter_RisingLim_e
                                        * Referenced by: '<S25>/Rate Limiter'
                                        */
  real32_T RateLimiter_FallingLim_d;   /* Computed Parameter: RateLimiter_FallingLim_d
                                        * Referenced by: '<S25>/Rate Limiter'
                                        */
  real32_T RateLimiter_IC_f;           /* Computed Parameter: RateLimiter_IC_f
                                        * Referenced by: '<S25>/Rate Limiter'
                                        */
  real32_T rps_Gain_d;                 /* Computed Parameter: rps_Gain_d
                                        * Referenced by: '<S25>/rps'
                                        */
  real32_T rps1_Gain_i;                /* Computed Parameter: rps1_Gain_i
                                        * Referenced by: '<S25>/rps1'
                                        */
  real32_T Constant_Value_f;           /* Computed Parameter: Constant_Value_f
                                        * Referenced by: '<S27>/Constant'
                                        */
  real32_T Saturation_UpperSat_i;      /* Computed Parameter: Saturation_UpperSat_i
                                        * Referenced by: '<S25>/Saturation'
                                        */
  real32_T Saturation_LowerSat_gd;     /* Computed Parameter: Saturation_LowerSat_gd
                                        * Referenced by: '<S25>/Saturation'
                                        */
  real32_T Constant1_Value_h;          /* Computed Parameter: Constant1_Value_h
                                        * Referenced by: '<S7>/Constant1'
                                        */
  uint16_T Gain_Gain;                  /* Computed Parameter: Gain_Gain
                                        * Referenced by: '<S18>/Gain'
                                        */
  uint16_T Gain1_Gain;                 /* Computed Parameter: Gain1_Gain
                                        * Referenced by: '<S18>/Gain1'
                                        */
  uint16_T Gain_Gain_b;                /* Computed Parameter: Gain_Gain_b
                                        * Referenced by: '<S25>/Gain'
                                        */
  uint16_T Gain1_Gain_j;               /* Computed Parameter: Gain1_Gain_j
                                        * Referenced by: '<S25>/Gain1'
                                        */
};

/* Real-time Model Data Structure */
struct RT_MODEL_Ctrl {
  const char_T * volatile errorStatus;

  /*
   * Timing:
   * The following substructure contains information regarding
   * the timing information for the model.
   */
  struct {
    uint32_T clockTick0;
  } Timing;
};

/* Class declaration for model Ctrl */
class CtrlModelClass {
  /* public data and function members */
 public:
  /* External inputs */
  ExternalInputs_Ctrl Ctrl_U;

  /* External outputs */
  ExternalOutputs_Ctrl Ctrl_Y;

  /* Model entry point functions */

  /* model initialize function */
  void initialize();

  /* model step function */
  void step();

  /* model terminate function */
  void terminate();

  /* Constructor */
  CtrlModelClass();

  /* Destructor */
  ~CtrlModelClass();

  /* Real-Time Model get method */
  RT_MODEL_Ctrl * getRTM() const;

  /* private data and function members */
 private:
  /* Tunable parameters */
  Parameters_Ctrl Ctrl_P;

  /* Block signals */
  BlockIO_Ctrl Ctrl_B;

  /* Block states */
  D_Work_Ctrl Ctrl_DWork;

  /* Real-Time Model */
  RT_MODEL_Ctrl Ctrl_M_;

  /* Real-Time Model pointer */
  RT_MODEL_Ctrl *Ctrl_M;

  /* private member function(s) for subsystem '<Root>' */
  void Ctrl_SetOutputs(real_T state);
  void Ctrl_SystemLogic(void);
};

/*-
 * The generated code includes comments that allow you to trace directly
 * back to the appropriate location in the model.  The basic format
 * is <system>/block_name, where system is the system number (uniquely
 * assigned by Simulink) and block_name is the name of the block.
 *
 * Note that this particular code originates from a subsystem build,
 * and has its own system numbers different from the parent model.
 * Refer to the system hierarchy for this subsystem below, and use the
 * MATLAB hilite_system command to trace the generated code back
 * to the parent model.  For example,
 *
 * hilite_system('Controller/Ctrl')    - opens subsystem Controller/Ctrl
 * hilite_system('Controller/Ctrl/Kp') - opens and selects block Kp
 *
 * Here is the system hierarchy for this model
 *
 * '<Root>' : 'Controller'
 * '<S1>'   : 'Controller/Ctrl'
 * '<S2>'   : 'Controller/Ctrl/Chart'
 * '<S3>'   : 'Controller/Ctrl/ClosedLoopSpeed'
 * '<S4>'   : 'Controller/Ctrl/ClosedLoopTorque'
 * '<S5>'   : 'Controller/Ctrl/Off'
 * '<S6>'   : 'Controller/Ctrl/OpenLoopCurrent'
 * '<S7>'   : 'Controller/Ctrl/OpenLoopVoltage'
 * '<S8>'   : 'Controller/Ctrl/ClosedLoopSpeed/Id PID'
 * '<S9>'   : 'Controller/Ctrl/ClosedLoopSpeed/Iq PID'
 * '<S10>'  : 'Controller/Ctrl/ClosedLoopSpeed/RPM PID'
 * '<S11>'  : 'Controller/Ctrl/ClosedLoopSpeed/Id PID/Clamping circuit'
 * '<S12>'  : 'Controller/Ctrl/ClosedLoopSpeed/Iq PID/Clamping circuit'
 * '<S13>'  : 'Controller/Ctrl/ClosedLoopSpeed/RPM PID/Clamping circuit'
 * '<S14>'  : 'Controller/Ctrl/ClosedLoopTorque/Id PID'
 * '<S15>'  : 'Controller/Ctrl/ClosedLoopTorque/Iq PID'
 * '<S16>'  : 'Controller/Ctrl/ClosedLoopTorque/Id PID/Clamping circuit'
 * '<S17>'  : 'Controller/Ctrl/ClosedLoopTorque/Iq PID/Clamping circuit'
 * '<S18>'  : 'Controller/Ctrl/OpenLoopCurrent/AngleGen'
 * '<S19>'  : 'Controller/Ctrl/OpenLoopCurrent/Id PID'
 * '<S20>'  : 'Controller/Ctrl/OpenLoopCurrent/Iq PID'
 * '<S21>'  : 'Controller/Ctrl/OpenLoopCurrent/AngleGen/Compare To Constant'
 * '<S22>'  : 'Controller/Ctrl/OpenLoopCurrent/AngleGen/Compare To Constant1'
 * '<S23>'  : 'Controller/Ctrl/OpenLoopCurrent/Id PID/Clamping circuit'
 * '<S24>'  : 'Controller/Ctrl/OpenLoopCurrent/Iq PID/Clamping circuit'
 * '<S25>'  : 'Controller/Ctrl/OpenLoopVoltage/AngleGen'
 * '<S26>'  : 'Controller/Ctrl/OpenLoopVoltage/AngleGen/Compare To Constant'
 * '<S27>'  : 'Controller/Ctrl/OpenLoopVoltage/AngleGen/Compare To Constant1'
 */
#endif                                 /* RTW_HEADER_Ctrl_h_ */

/*
 * File trailer for generated code.
 *
 * [EOF]
 */
